package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderBaleDetail;
import com.jic.order.manage.request.OrderBaleDetailRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 包裹明细表
 * @author : yinhaijun
 * @email :
 * @since : 2020-01-15 08:01:30
 * @version : v1.0.0
 */
@Mapper
public interface  OrderBaleDetailMapper {

    long insert(OrderBaleDetail orderBaleDetail);

    long delete(Long id);

    long update(OrderBaleDetail orderBaleDetail);

    OrderBaleDetail queryByPrimaryKey(Long id);

    List<OrderBaleDetail> query(OrderBaleDetail orderBaleDetail);

    List<OrderBaleDetail> queryPage(@Param("startIndex") int startIndex, @Param("orderBaleDetail") OrderBaleDetailRequest obdr);

    long queryPageCount(@Param("orderBaleDetail") OrderBaleDetailRequest obdr);
}
